package com.rio.volley;


public interface RequestEvent<T>  {
	
	/**
	 * @param  发出网络请求前
	 */
	public void onPreExecute();
	
	/**
	 * @param  发出网络请求后
	 */
	public void onPostExecute();

	public void onFail(Exception exception);

	public void onSuccess(T data);
	
	public T doInBackground(String data) throws Exception;
	

}
